﻿// -------------------------------------------------------------------------
//    @FileName         :    NFWorldDataService.cpp
//    @Author           :    gaoyi
//    @Date             :    2025-07-10
//    @Email			:    445267987@qq.com
//    @Module           :    NFWorldDataService
//
// -------------------------------------------------------------------------

#include "NFWorldDataService.h"

#include "NFWorldData.h"
#include "NFWorldWelfareDBData.h"

NFWorldData* NFWorldDataService::GetWorldData(int funcId)
{
    switch (funcId)
    {
        case WORLD_DATA_DB_WELFARE_WORLD_DATA:
        {
            return NFWorldWelfareDBData::Instance();
        }
        default:
        {
            LOG_ERR(0, -1, "NFWorldDataService::GetWorldData funcId:{} not find", funcId);
            return nullptr;
        }
    }
    return nullptr;
}
